#ifndef DisplayCharacter_H
#define DisplayCharacter_H

#include "Framework.h"
#include "Shader.h"

class DisplayCharacter {
public:
   DisplayCharacter();
   ~DisplayCharacter();
   void OnRender(const aiScene* character);
   
   void DrawBone(const aiScene* character, aiMesh *mesh, std::vector<aiVector3D> *resultPos);
   //void Standing(bool standing);

private:

   const aiAnimation* anim;
   void Evaluate(double ptime, const aiScene* character, const aiAnimation *anim);
   std::vector<aiMatrix4x4> transforms;
   std::vector<aiVector3D> positions;
   double current;
   double lastPlaying;
   double lastTime;
};

#endif
